package pers.bbw.crr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import pers.bbw.crr.dto.base.BaseSearchDto;

/**
 * 器材信息DTO 器材
 *
 * @author bbw
 * @date 2024-12-13
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "器材信息DTO", description = "查询DTO")
public class EquipmentSearchDto extends BaseSearchDto {

    /**
     * 器材名称
     */
    @ApiModelProperty(value = "器材名称")
    private String equipmentName;

    /**
     * 器材编号
     */
    @ApiModelProperty(value = "器材编号")
    private String equipmentNo;

    /**
     * 详情
     */
    @ApiModelProperty(value = "详情")
    private String content;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态（0.无人使用；1.正在使用；2.不可用）")
    private Integer state;

    /**
     * 器材类型代码
     */
    @ApiModelProperty(value = "器材类型代码（1.体育类器材；2.实验类器材；3.教学类器材）")
    private Integer typeCode;

    /**
     * 所属社团或教学组
     */
    @ApiModelProperty(value = "所属社团或教学组")
    private String affiliation;

    /**
     * 器材数量
     */
    @ApiModelProperty(value = "器材数量")
    private Integer quantity;

    /**
     * 器材图片路径
     */
    @ApiModelProperty(value = "器材图片路径")
    private String fileUrl;

}
